package com.ruoyi.house_sale.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 调研答卷名称对象 ResearchExam
 * 
 * @author ruoyi
 * @date 2022-03-28
 */
public class ResearchExam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long reseachid;

    /** 项目编号(关联项目表) */
    @Excel(name = "项目编号(关联项目表)")
    private Long projectid;

    /** 项目名称 */

    private String projectname;

    /** 答卷名称 */
    @Excel(name = "答卷名称")
    private String examname;

    /** 是否启用（启用，禁用） */
    @Excel(name = "是否启用", readConverterExp = "启=用，禁用")
    private String invalid;

    /** 序号 */
    @Excel(name = "序号")
    private Long orderid;

    /** 题目数量 */
    @Excel(name = "题目数量")
    private Long examcount;

    /** 备注 */
    @Excel(name = "备注")
    private String description;

    /** 出卷人（session用户名） */
    @Excel(name = "出卷人", readConverterExp = "s=ession用户名")
    private String userid;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date oprtime;

    public void setReseachid(Long reseachid) 
    {
        this.reseachid = reseachid;
    }

    public Long getReseachid() 
    {
        return reseachid;
    }
    public void setProjectid(Long projectid) 
    {
        this.projectid = projectid;
    }

    public Long getProjectid() 
    {
        return projectid;
    }
    public void setExamname(String examname) 
    {
        this.examname = examname;
    }

    public String getExamname() 
    {
        return examname;
    }
    public void setInvalid(String invalid) 
    {
        this.invalid = invalid;
    }

    public String getInvalid() 
    {
        return invalid;
    }
    public void setOrderid(Long orderid) 
    {
        this.orderid = orderid;
    }

    public Long getOrderid() 
    {
        return orderid;
    }
    public void setExamcount(Long examcount) 
    {
        this.examcount = examcount;
    }

    public Long getExamcount() 
    {
        return examcount;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setOprtime(Date oprtime) 
    {
        this.oprtime = oprtime;
    }

    public Date getOprtime() 
    {
        return oprtime;
    }

    public String getProjectname() {
        return projectname;
    }

    public void setProjectname(String projectname) {
        this.projectname = projectname;
    }

    @Override
    public String toString() {
        return "ResearchExam{" +
                "reseachid=" + reseachid +
                ", projectid=" + projectid +
                ", projectname='" + projectname + '\'' +
                ", examname='" + examname + '\'' +
                ", invalid='" + invalid + '\'' +
                ", orderid=" + orderid +
                ", examcount=" + examcount +
                ", description='" + description + '\'' +
                ", userid='" + userid + '\'' +
                ", oprtime=" + oprtime +
                '}';
    }
}
